package com.fengze.business.mapper;

import java.util.List;
import com.fengze.business.domain.PerformanceRecord;
import com.fengze.business.vo.PerformanceRecordVO;

/**
 * 履约记录Mapper接口
 * 
 * @author lug
 * @date 2024-02-04
 */
public interface PerformanceRecordMapper 
{
    /**
     * 查询履约记录
     * 
     * @param id 履约记录主键
     * @return 履约记录
     */
    public PerformanceRecord selectPerformanceRecordById(Long id);

    /**
     * 查询履约记录列表
     * 
     * @param performanceRecord 履约记录
     * @return 履约记录集合
     */
    public List<PerformanceRecord> selectPerformanceRecordList(PerformanceRecord performanceRecord);

    /**
     * 新增履约记录
     * 
     * @param performanceRecord 履约记录
     * @return 结果
     */
    public int insertPerformanceRecord(PerformanceRecord performanceRecord);

    /**
     * 修改履约记录
     * 
     * @param performanceRecord 履约记录
     * @return 结果
     */
    public int updatePerformanceRecord(PerformanceRecord performanceRecord);

    /**
     * 删除履约记录
     * 
     * @param id 履约记录主键
     * @return 结果
     */
    public int deletePerformanceRecordById(Long id);

    /**
     * 批量删除履约记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePerformanceRecordByIds(Long[] ids);

    PerformanceRecordVO selectVOById(Long id);

    int deleteLogicPerformanceRecordByIds(Long[] ids);

    List<PerformanceRecordVO> selectPerformanceRecordVOList(PerformanceRecord performanceRecord);
}
